﻿using Telegram.Bot;
using Telegram.Bot.Types;

namespace Kz.Telegram.Bot.Console.HandleUpdate
{
    public interface IHandler
    {
        /// <summary>
        /// 处理
        /// </summary>
        /// <param name="botClient"></param>
        /// <param name="update"></param>
        /// <param name="cancellationToken"></param>
        /// <returns></returns>
        Task Handle(ITelegramBotClient botClient, Update update, CancellationToken cancellationToken);
    }
}